home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 9464 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.2 KB

  1. Path: news.production.compuserve.com!news
  2. From: E. F. Neer <103115.2513@CompuServe.COM>
  3. Newsgroups: comp.lang.c,comp.lang.c++
  4. Subject: Disabling/enabling mouse in Windows
  5. Date: 1 Mar 1996 21:24:00 GMT
  6. Organization: CompuServe, Inc. (1-800-689-0736)
  7. Message-ID: <4h7ptg$qal$3@mhade.production.compuserve.com>
  8.  
  9. I have a program originally written in C for DOS to control some 
  10. hardware device.In that program I use the int86 function to 
  11. capture a trackball input, which is used to drive an x-y table.
  12.  
  13. Now I'm  putting  it all into Windows, trying to use MSVC 1.52. 
  14. Here is a problem that I have:
  15.  
  16. 1. If I configure Windows to use "No mouse or other pointing 
  17. device", my application worksjust fine, and I'm able to drive my 
  18. table with the trackball using the old int86 function. However,
  19. this way I'm not able to use the trackball for Windows, which is 
  20. a bit of inconvenience.
  21.  
  22. 2. If I configure Windows to use the trackball, I'm no longer 
  23. able to drive my x-y table with it.
  24.  
  25. Is there any way to make my program enable or disable mouse input 
  26. for Windows?
  27. (Microsoft Technical Support specialist's answer: NO. But I hope 
  28. that USENET people can
  29. find a way...)
  30.  
  31. Any help or references would be greatly appreciated.
  32.  
  33. Enge
  34.